﻿<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title - Ranet OLAP</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")
        <script type="text/javascript" src="~/Silverlight.js"></script>
    <script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null && sender != 0) {
                appSource = sender.getHost().Source;
            }

            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;

            if (errorType == "ImageError" || errorType == "MediaError") {
                return;
            }

            var errMsg = "Unhandled Error in Silverlight Application " + appSource + "\n";

            errMsg += "Code: " + iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";

            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " + args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }

            throw new Error(errMsg);
        }
    </script>
    </head>
    <body>
        <header>
            <div class="content-wrapper">
                <div class="float-left">
                    <p class="site-title"> @Html.ActionLink(" ", "Index", "Home", new
                                     {
                                         style = "background: url('" + Url.Content("~/images/ranetolap.png") + "') no-repeat center right; display:block; height:75px; width:269px;"
                                     })</p>
                </div>
                <div class="float-right">
                    <section id="login">
                        
                    </section>
                    <nav>
                        <ul id="menu">
                            <li>@Html.ActionLink("Home", "Index", "Home")</li>
                            <li>@Html.ActionLink("Configuration", "Configuration", "Home")</li>
                            <li>@Html.ActionLink("Options", "MdxDesignerSetting", "Home")</li>
                            <li>@Html.ActionLink("MDX Designer", "PivotTable", "Home")</li>
                            <li>@Html.ActionLink("About", "About", "Home")</li>
                            <li>@Html.ActionLink("Contact", "Contact", "Home")</li>
                        </ul>
                    </nav>
                </div>
            </div>
        </header>
        <div id="body">
            @RenderSection("featured", required: false)
            <section class="content-wrapper main-content clear-fix">
                @RenderBody()
            </section>
        </div>
        <footer>
            <div class="content-wrapper">
                <div class="float-left">
                    <div class="container clearfix">
                        <ul id="menu-galantis" style="list-style: none">
                            <li style="float:left"><a href="http://www.galantis.com">Galantis</a></li>
                            <li style="float:left"><a href="http://www.galantis.com/filenet/">IBM FileNet</a></li>
                            <li style="float:left"><a href="http://www.galantis.com/elo/">ELO Digital Office</a></li>
                            <li style="float:left"><a href="http://www.galantis.com/ranet">Ranet UI OLAP</a></li>
                            <li style="float:left"><a href="http://www.galantis.com/maps">Digital Maps</a></li>
                            <li style="float:left"><a href="http://photomod.galantis.com/">Photomod</a></li>
                            <li style="float:left"><a href="http://www.galantis.com/contact-us">Contact Us</a></li>
                        </ul>			
			
		</div>
                </div>
            </div>
        </footer>

        @Scripts.Render("~/bundles/jquery")
        @RenderSection("scripts", required: false)
    </body>
</html>
